package com.demo.demo.dao;

import com.com.base.data.BaseDao;
import com.demo.demo.domain.Order;

import java.util.Date;
import java.util.List;

public interface OrderDao extends BaseDao<Order> {

    List<Order> findByCreatedateBetween(Date beginTime, Date endTime);

    List<Order> findByCreatedateBetweenAndUserid(Date beginTime, Date endTime, long userid);
}
